<template>
  <view class="pl-[23rpx] pr-[38rpx] py-[28rpx] bg-white rounded-2 shadow-1">
    <wd-cell-group>
      <wd-cell
        :title="item.label"
        v-for="item in otherList"
        :key="item.label"
        is-link
        @click="handleClick(item.pagePath)"
      >
        <template #icon>
          <image
            :src="item.icon"
            class="w-[34rpx] h-[34rpx] mr-[10rpx] mt-[8rpx]"
          ></image>
        </template>
      </wd-cell>
    </wd-cell-group>
  </view>
</template>

<script setup>
const otherList = [
  {
    label: "地址管理",
    pagePath: "/pagesOrder/list/index",
    icon: "/static/images/mine/address.png",
  },
  {
    label: "在线客服",
    pagePath: "",
    icon: "/static/images/mine/service.png",
  },
 
];
const handleClick = (url) => {
  uni.navigateTo({ url });
};
</script>
